<div id="assetReport">
  <yu-panel title="网格资产类报表统计">
    <yu-xform ref="assetReportInfoSearch" related-table-name="assetReportTable" form-type="search"
              :custom-search-fn="searchFn">
      <yu-xform-group :column="3">
        <yu-xform-item label="机构名称" placeholder="机构名称" name="gridName" ctype="input"></yu-xform-item>
        <yu-xform-item label="档案号" placeholder="档案号" ctype="input" name="userNo"></yu-xform-item>
        <yu-xform-item label="网格员姓名" placeholder="网格员姓名" ctype="input" name="userName"></yu-xform-item>
        <yu-xform-item label="统计日期" placeholder="统计日期" name="etlDt" ctype="datepicker"></yu-xform-item>
      </yu-xform-group>
    </yu-xform>
    <div style="justify-content:space-between;display: flex">
      <div>
        <yu-button type="warning" v-loading="loading"  @click="exportExcel()" >导出数据</yu-button>
      </div>
    </div>
    <div style="height: 30px"></div>
    <yu-xtable ref="assetReportTable" :base-params="assetReportData" :data-url="funcDataUrl" request-type="get" row-number style="width: 100%">
      <yu-xtable-column prop="etlDt" label="统计日期" width="120px" align="center" show-overflow-tooltip></yu-xtable-column>
      <yu-xtable-column prop="gridName" label="机构名称" width="90px" align="center" show-overflow-tooltip></yu-xtable-column>
      <yu-xtable-column prop="secondGridName" label="网格名称" width="90px" align="center" show-overflow-tooltip></yu-xtable-column>
      <yu-xtable-column prop="userNo" label="档案号" width="130px" align="center" show-overflow-tooltip></yu-xtable-column>
      <yu-xtable-column prop="userName" label="网格员姓名" width="130px" align="center" show-overflow-tooltip></yu-xtable-column>
      <yu-xtable-column prop="custName" label="客户名称" width="120px" align="center" show-overflow-tooltip></yu-xtable-column>
      <yu-xtable-column prop="idNum" label="客户身份证号码" width="120px" align="center" show-overflow-tooltip></yu-xtable-column>
      <yu-xtable-column prop="prodNo" label="产品大类" width="120px" align="center" show-overflow-tooltip></yu-xtable-column>
      <yu-xtable-column prop="prodName" label="产品名称" width="120px" align="center" show-overflow-tooltip></yu-xtable-column>
      <yu-xtable-column prop="guarMode" label="担保方式" width="120px" align="center" show-overflow-tooltip></yu-xtable-column>
      <yu-xtable-column prop="repayMode" label="还款方式" width="120px" align="center" show-overflow-tooltip></yu-xtable-column>
      <yu-xtable-column prop="distrDate" label="放款日期" width="120px" align="center" show-overflow-tooltip></yu-xtable-column>
      <yu-xtable-column prop="exprDate" label="到期日期" width="120px" align="center" show-overflow-tooltip></yu-xtable-column>
      <yu-xtable-column prop="clsgStat" label="结清状态" width="120px" align="center" show-overflow-tooltip></yu-xtable-column>
    </yu-xtable>
  </yu-panel>
</div>
